<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}

    {% endblock %}</title>
    <link href="/static/myblog/css/base.css" rel="stylesheet">
    <link href="/static/myblog/css/index.css" rel="stylesheet">
    <link href="/static/myblog/css/m.css" rel="stylesheet">
    <!--[if lt IE 9]>
        <script src="/static/myblog/js/modernizr.js"></script>
    <![endif]-->
    <script>
        window.onload = function () {
            var oH2 = document.getElementsByTagName("h2")[0];
            var oUl = document.getElementsByTagName("ul")[0];
            oH2.onclick = function () {
                var style = oUl.style;
                style.display = style.display == "block" ? "none" : "block";
                oH2.className = style.display == "block" ? "open" : ""
            }
        }
    </script>
    {% block style %}

    {% endblock %}
</head>
<body>
    {#    头部#}
    <header>
        <div class="tophead">
            <div class="logo"><a href="/myblog/index/">于光坤个人博客网站</a></div>
            <div id="mnav">
                <h2><span class="navicon"></span></h2>
                <ul>
                    <li><a href="/myblog/index/">首页</a></li>
                    <li><a href="/myblog/about/">关于我</a></li>
                    <li><a href="/myblog/share/">我与她</a></li>
                    <li><a href="/myblog/list/">学无止境</a></li>
                    <li><a href="/myblog/info/">内容分享</a></li>
                    <li><a href="/myblog/gbook/">留言</a></li>
                </ul>
            </div>
            <nav class="topnav" id="topnav">
                <ul>
                    <li><a href="/myblog/index/">首页</a></li>
                    <li><a href="/myblog/about/">关于我</a></li>
                    <li><a href="/myblog/share/">我与她</a></li>
                    <li><a href="/myblog/list/">学无止境</a></li>
                    <li><a href="/myblog/info/">知识分享</a></li>
                    <li><a href="/myblog/gbook/">留言</a></li>
                </ul>
            </nav>
        </div>
    </header>

    {#    内容#}
    {% block content %}

    {% endblock %}

    {#    尾部#}
    <footer>
        <p>Design by <a href="/">于光坤个人博客</a> <a href="/"></a></p>
    </footer>
    <script src="/static/myblog/js/nav.js"></script>
    {% block script %}
    
    {% endblock %}
</body>
</html>